﻿

public class BPcars
{
    /*SqlConnection connStr = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["myConn"].ConnectionString);*/
    public static string GetConnection()
    {
        return System.Configuration.ConfigurationManager.ConnectionStrings["myConn"].ConnectionString;

    }

}